import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { spListComponent } from './spList-list/spList-list.component';
import { AuthGuardService } from '@core/auth/auth-guard.service';
import { spListEditComponent } from 'app/routes/spList/spList-list/edit/spList-edit.component';

const routes: Routes = [
  {
    path: 'spList',
    children: [
      { path: '', component: spListComponent },
      { path: 'edit/:id', component: spListEditComponent }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class spListRoutingModule { }
